package cn.hxzy.entity.userEntity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.models.auth.In;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("sys_role_per")
@ApiModel(value="权限表", description="")
@AllArgsConstructor
public class RolePer implements Serializable {
    @ApiModelProperty(value = "角色ID")
    @TableId(type = IdType.INPUT)
    private Integer roleId;

    @ApiModelProperty(value = "角色权限")
    private String per;
}
